package com.jxzn.locust.model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@MappedSuperclass
public class AbstractNamedModel extends AbstractUpdated {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 名字
     */
    @Column
    @ExcelProperty("名称")
    String name;
    /** 是否删除 */
    @ExcelIgnore
    Boolean deleted;

}
